home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / doorware / stb426c.zip / SHUTBOX.DOC < prev    next >
Text File  |  1996-10-04  |  18KB  |  391 lines

  1.  
  2.                       Shut The Box Deluxe Version 4.26c
  3.                        Copyright (C) 1996 John Parlin
  4.                             All rights reserved
  5.                           Release Date: 10-04-1996
  6.  
  7.  
  8.  
  9. ╒═════════════════════════════════════════════════════════════════════════════╕
  10. │░░░░░░ LICENSING INFORMATION ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  11. ╘═════════════════════════════════════════════════════════════════════════════╛
  12.  
  13. This program is not Freeware.  This is SHAREWARE which means it is user-
  14. supported software.  If you use this program for more than 30 days, you are
  15. required to register or remove it from your system.  The registration fee
  16. is a mere $10.00 and is not a lot to ask.
  17.  
  18. The concept works only with your support.  If you find that you can use
  19. this program, then a registration fee of $10.00 U.S. funds will help defray
  20. the development cost and encourage the authorship of other programs that
  21. might be useful to you.  A  Registration Form for this purpose is included
  22. with the distribution archive and is called SHUTREG.DOC.
  23.  
  24. ShutBox is Copyrighted by John Parlin and all rights are reserved. You may
  25. copy this program and documentation for backup purposes. You also may copy
  26. and share UNMODIFIED copies of the program package, providing that the
  27. copyright notice is reproduced and included on all copies.
  28.  
  29. You may not sell the product for a fee and/or distribute the product along
  30. with other products without expressed written permission from John Parlin,
  31. nor may you modify or remove the Copyright Notice from the program or the
  32. documentation.
  33.  
  34. Those who register this program within one year of its release by the
  35. author, will receive a registration key.  The key will be delivered either
  36. by personal upload or postal service.  Allow up to 6 weeks for delivery for
  37. locations outside the continental U.S.
  38.  
  39. Comments, suggestions and bug reports are welcome.  If you have any, you
  40. should contact the author in the Fidonet DOORWARE echomail conference or at
  41. the address listed below:
  42.  
  43.                       John Parlin
  44.                       7043 Fremont Avenue North
  45.                       Brooklyn Center, MN 55430-1138
  46.  
  47. If you're reporting a bug, please give as much detail as possible about the
  48. problem you are experiencing so that it can be duplicated and fixed.
  49.  
  50. ╒═════════════════════════════════════════════════════════════════════════════╕
  51. │░░░░░░ INTRODUCTION ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  52. ╘═════════════════════════════════════════════════════════════════════════════╛
  53.  
  54.         Shut The Box has been around since the 18th century and was thought
  55. to have been invented by fishermen in the Channel Islands.  It has remained
  56. a popular game in the British Isles and has also been glorified in the TV
  57. game show High Rollers.  Its simplicity coupled with a beat-the-odds type
  58. of play, make Shut The Box, a fun, fast-paced game.
  59.  
  60. THE OBJECTIVE:
  61.  
  62.         Players try to get the highest monthly score possible, by shutting
  63. numbered doors or "tiles" which match rolled dice.  At the beginning of play,
  64. tiles numbered 1 thru 12 are displayed on the screen in an "up" position
  65. (see Figure 1).
  66.  
  67.               ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
  68.               │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 10│ 11│ 12│
  69.               ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
  70.               │   │   │   │   │   │   │   │   │   │   │   │   │
  71.               └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
  72.                                   Figure 1
  73.  
  74.         Tiles 1 through 9 constitute the regular "9-tile box" while tiles
  75.         10 through 12 make up the "Deluxe Box" (see figure 2).
  76.  
  77.                ┌───────Regular, 9-Tile Box───────┐ ┌─Deluxe──┐
  78.               ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
  79.               │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 10│ 11│ 12│
  80.               ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
  81.               │   │   │   │   │   │   │   │   │   │   │   │   │
  82.               └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
  83.                                   Figure 2
  84.  
  85.         The player begins by rolling two die and then closes a combination
  86. tiles whose numbers total that of the dice.  The player's turn ends when a
  87. number is rolled which cannot be matched by any total of the remaining tiles
  88. left up (open) or, when all tiles have been closed.
  89.  
  90.         For example: A player's first roll is a six and a two, totalling
  91. eight.  The player may shut either the tile numbered eight, or the six
  92. and two, or the five and three, or any other combination that totals the
  93. rolled value of eight.
  94.  
  95.         In our example, the player chooses to shut (pull down) the two and
  96. the six, leaving the board as you see in Figure 3.
  97.  
  98.               ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
  99.               │ 1 │   │ 3 │ 4 │ 5 │   │ 7 │ 8 │ 9 │ 10│ 11│ 12│
  100.               ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
  101.               │   │ 2 │   │   │   │ 6 │   │   │   │   │   │   │
  102.               └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
  103.                                   Figure 3
  104.  
  105.         When the player is finished selecting tiles (and the Tile Total is
  106. equal to the total of the dice), the player presses <ENTER>.  The tiles
  107. that were pulled down will then change color and be considered out of play
  108. or "closed".
  109.  
  110.         Upon game completion, all tiles are reopened and the player may
  111. select to play another game providing that he has not reached the maximum
  112. number of daily turns allowed by the System Operator.
  113.  
  114.         At the end of each month, the player with the highest score is
  115. declared the winner.  The top-three scoring players are recorded and displayed
  116. to players throughout the following month.
  117.  
  118. SCORING:
  119.  
  120.         Whenever tiles are shut, or pulled-down, and "entered", the player's
  121. score is incremented by the total of the tiles which were closed.  At the end
  122. of each game, players receive a bonus of 10 multiplied by the number of tiles
  123. that were closed.  If a player closes all tiles in the regular 9-tile box,
  124. a bonus of 500 points is added to the player's score and the player is
  125. awarded a free turn.  If all tiles are closed, the player is awarded for
  126. shutting both the 9-tile and deluxe boxes and is awarded the same PLUS an
  127. additional 1,000 points for shutting the deluxe box.
  128.  
  129. GAME CONTROLS:
  130.  
  131.         Primary Command Set:
  132.  
  133.         The primary command keys used to control Shut The Box, are the number
  134. keys 4, 6, 8, 2, and <ENTER>.  Move the block cursor using the numeric key pad
  135. with the NUM LOCK key turned on.  The block cursor can be moved right and left.
  136. To close a tile (pull it down), use the 2 key.  To open a tile (deselect it),
  137. use the 8 key.
  138.  
  139.                                   (u)
  140.                                    8
  141.                              (l) 4   6 (r)
  142.                                    2
  143.                                   (d)
  144.  
  145.         Alternate Command Set:
  146.  
  147.         The alternate command keys used to control Shut The Box, are the
  148. keys A, D, W, X and <ENTER>.  Move the block cursor using the keys A and D.
  149. The block cursor can be moved right and left. To close a tile (pull it down),
  150. use the X key.  To open a tile (deselect it), use the W key.
  151.  
  152.                                   (u)
  153.                                    W
  154.                              (l) A   D (r)
  155.                                    X
  156.                                   (d)
  157.  
  158.         When you are satisfied with the tiles you have pulled down, press
  159. <ENTER> to "enter" the tiles and remove them from play.
  160.  
  161.         Players dialed in using a RIPscrip terminal program may find
  162. that clicking the number boxes and text commands is much faster and simpler
  163. than using the keyboard at all.
  164.  
  165.  
  166. ╒═════════════════════════════════════════════════════════════════════════════╕
  167. │░░░░░░ INSTALLATION ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  168. ╘═════════════════════════════════════════════════════════════════════════════╛
  169.  
  170. IMPORTANT NOTE:  If you are running an earlier version than 4.0, please
  171.                  read SHUTBOX.NEW for instructions on how to procede.
  172.  
  173. Shut The Box runs great with most any BBS that can create a DORINFO1.DEF
  174. or DOOR.SYS drop file.  A FOSSIL driver is also required for communications
  175. input/output.  All file I/O uses record locking and this door will run fine
  176. on two nodes simultaneously.  All you need to do is pass some command line
  177. parameters to the program.
  178.  
  179. These are:
  180.  
  181.  /S   - This parameter is for use on systems that use a DOOR.SYS drop file
  182.         rather than a DORINFO1.DEF drop file.  This specifies the BBS
  183.         system name.  Use underscores in place of spaces.  This parameter
  184.         is needed on DOOR.SYS systems because DOOR.SYS does not contain the
  185.         name of the BBS which is needed for registration information.
  186.  
  187.         e.g.  SHUTBOX /SThe_O-Zone_BBS
  188.  
  189.  /O   - This parameter is for use on systems that use a DOOR.SYS drop file
  190.         rather than a DORINFO1.DEF drop file.  This specifies the BBS
  191.         System Operator's name which is not contained in DOOR.SYS.  This
  192.         parameter is needed on DOOR.SYS systems.
  193.  
  194.         e.g.  SHUTBOX /OJohn_Doe
  195.  
  196.  /H   - This parameter specifies that the FOSSIL driver is not to be
  197.         initialized.  Use this parameter if you are getting a FOSSIL driver
  198.         error (i.e. FrontDoor not able to detect FOSSIL).
  199.  
  200.  /A   - If this parameter is used, it specifies that scoring and sorting
  201.         will be done on the player's monthly average score rather than the
  202.         total monthly score.  If ommitted, scoring and sorting is done on
  203.         player's total monthly score.  NOTE:  If used, you may find that
  204.         players who only play a few times will win the monthly tournament
  205.         versus those who play on a regular basis.
  206.  
  207.  /Tn  - This is the maximum number of games a player may play per day.
  208.         This should be a number between 1 and 99.  If it's not in this
  209.         range, it will default to 5.
  210.  
  211.  /Mn  - This is the maximum number of make up days allowed per day.
  212.         Players may not be able to call in and play every day.  So, to
  213.         enable players to keep up and be competitive, the Sysop can allow
  214.         players to have 'n' make up days per day.  This should be a value
  215.         between 1 and 5.  If it's not in this range, it will default to 3.
  216.  
  217.         Example:  If I allow 3 make up days per day, and 5 games per day, a
  218.         player can:
  219.  
  220.         - Call in on the 5th and play his 5 games for that day.
  221.         - Use a up to 3 make up days and play 5 games for each make up day
  222.           that he uses.
  223.  
  224.  /Pn  - This is the path to DORINFOx.DEF or DOOR.SYS.  This is where Shut
  225.         The Box will look for the drop file.  If a trailing backslash is
  226.         not specified, one will be added.
  227.  
  228.  /D   - This parameter specifies that a RemoteAccess or GAP (PCBoard)
  229.         DOOR.SYS drop file should be used instead of a DORINFOx.DEF drop
  230.         file.  This file should reside in the directory path specified by
  231.         the /P parameter.  This parameter is optional.
  232.  
  233.  /J   - This parameter should only be used game messages fly by too
  234.         quickly.  Some screaming PC processors such as pentiums may need to
  235.         set use this parameter if their users complain that game messages
  236.         fly by too quickly to be read.
  237.  
  238.  
  239. Examples:
  240.  
  241.    SHUTBOX.EXE /t7 /m2 /pC:\RA\  7 games per day.
  242.                                  2 make up days per day.
  243.                                  DORINFO1.DEF can be found in C:\RA\
  244.                                  directory.
  245.  
  246.    SHUTBOX.EXE /m5 /p\RA\        5 games per day (default).
  247.                                  5 make up days per day.
  248.                                  DORINFO1.DEF can be found in \RA\
  249.                                  directory.
  250.  
  251.    SHUTBOX.EXE /pC:\RA\ /D /SCity_Terminal_BBS
  252.  
  253.                                  5 games per day (default).
  254.                                  3 make up days per game (default).
  255.                                  DOOR.SYS can be found in C:\RA\ directory.
  256.                                  Use DOOR.SYS instead of DORINFO1.DEF.  No
  257.                                  need to worry about the format.  Shut The
  258.                                  Box will automatically determine if a
  259.                                  RemoteAccess or PCBoard DOOR.SYS is being
  260.                                  used.  The BBS System Name is City
  261.                                  Terminal BBS.
  262.  
  263. NOTE:  If you are running this program under PCBoard, you may have to load
  264.        a FOSSIL driver from a batch file before the game is run, and unload
  265.        it when the game is finished and before control is returned to the
  266.        BBS.
  267.  
  268. Are command line parameters difficult to comprehend or use?  You can use a
  269. configuration profile as an alternative to using command line parameters.
  270.  
  271. To use a configuration profile, create a valid DOS ASCII text file.  In
  272. it, define the settings using the following syntax:
  273.  
  274.  setting=<your setting>
  275.  
  276. Valid settings are:
  277.  
  278.  PATH       This is the path to DORINFO1.DEF or DOOR.SYS.
  279.  
  280.  BBSNAME    The name of the BBS (used to validate registration code).
  281.  
  282.  SYSOPNAME  The name of the Sysop (used to validate registration code).
  283.  
  284.  MAXTURNS   A number between 1 and 99 that is the maximum number of turns a
  285.             player may take per day.
  286.  
  287.  MAKEUPDAYS A number between 1 and 5 that is the maximum number of make-up
  288.             days a player may use per day.
  289.  
  290.  DOORSYS    A YES or NO setting that determines whether DOOR.SYS is used.
  291.             If set to NO, then DORINFO1.DEF is used.
  292.  
  293.  AVGSORT    A YES or NO setting that determines whether the score card is
  294.             sorted by average or total scores.  If set to NO, then standard
  295.             tournament scoring is used.
  296.  
  297.  SLOWDELAY  A YES or NO setting that determines whether the system clock
  298.             should be used in delay routines.  When program messages scream
  299.             by too quickly because you're running a boss pentium or other
  300.             fast processor, set this to YES.  If program pauses are
  301.             sufficient, leave it set to NO.
  302.  
  303. Here's an example of a configuration file.  Let's call it STBNODE1.CFG.
  304. The contents of the file are:
  305.  
  306.  PATH=C:\BBS\NODE1
  307.  BBSNAME=CITY TERMINAL
  308.  SYSOPNAME=JOHN DOE
  309.  MAXTURNS=5
  310.  MAKEUPDAYS=2
  311.  DOORSYS=NO
  312.  AVGSORT=NO
  313.  SLOWDELAY=NO
  314.  
  315. When executing Shut The Box, include the filename of the configuration file
  316. instead of the command line parameters.  Shut The Box will run using the
  317. settings from the file.  For example, to run Shut The Box using the
  318. configuration profile STBNODE1.CFG (above), just use the command line:
  319.  
  320.    SHUTBOX.EXE STBNODE1.CFG
  321.  
  322. Shut The Box can be run in the BBS system directory or in a directory of
  323. its own. If you use a separate subdirectory, you will need to use a batch
  324. file.
  325.  
  326. SHUTBOX.BAT:
  327.  
  328.  CD \BBS\SHUTBOX
  329.  SHUTBOX /t7 /m3 /pC:\RA\  (or SHUTBOX <config file name>)
  330.  CD \BBS
  331.  
  332. Running Shut The Box on a mutli-node system may require a batch file
  333. similar to this one:
  334.  
  335.  CD \BBS\SHUTBOX
  336.  IF %1==2 GOTO LINE2
  337.  SHUTBOX /t7 /m3 /pC:\BBS\NODE1\
  338.  GOTO STOP
  339.  
  340.  :LINE2
  341.  SHUTBOX /t7 /m3 /pC:\BBS\NODE2\
  342.  
  343.  :STOP
  344.  
  345. In the above example, it is assumed that the node number is being passed
  346. into the batch file on the command-line.  Inside the batch file, it is then
  347. referred to as %1.  It is beyond the scope of this document to get into
  348. batch file programming.  See your DOS manual for more information.
  349.  
  350. That's all there is to installing the Shut The Box door.  There is no setup
  351. program needed.
  352.  
  353. Manually Restarting the Game:
  354.  
  355. The game may be restarted at any time by deleting the file SHUTBOX.DTE.
  356. The main program executable will do the rest.
  357.  
  358.  
  359. ╒═════════════════════════════════════════════════════════════════════════════╕
  360. │░░░░░░ SUPPORT FILES ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  361. ╘═════════════════════════════════════════════════════════════════════════════╛
  362.  
  363. The following is a list of files related to the operation of this program.
  364. It is noted whether or not the file is absolutely required in order for the
  365. program to run.
  366.  
  367.  Filename       Required   Description
  368.  ------------   --------   -------------------------------------------------
  369.  SHUTREG.DOC      No       Program registration form.
  370.  SHUTBOX.NEW      No       Program revision history.  Be sure to read!
  371.  SHUTBOX.EXE      Yes      The main progam executable.
  372.  SHUTBOX.ANS      Yes      The game board graphic.
  373.  SHUTOPEN.ANS     Yes      The Shut The Box intro graphic (color graphics).
  374.  SHUTOPEN.RIP     Yes      The Shut The Box intro graphic (RIP graphics).
  375.  STBHELP1 thru
  376.  STBHELP4.RIP     Yes      The program help/instructions in RipScript.
  377.  SHUTBOX.HLP      Yes      Help file.
  378.  SHUTBOX.DOC      No       This documentation.
  379.  SHUTBOX.DTE      No       This is a date file.  This is used to determine
  380.                            when the end of month has been reached.
  381.  SHUTBOX.HSC      No       This file contains the last month's high scorer
  382.                            statistics.
  383.  SHUTBOX.DAT      No       This is the player data file.  If it does not
  384.                            exist, it will be created.
  385.  SHUTBOX.LOG      No       This file is created if Shut The Box encounters
  386.                            an error during operations.  If this file
  387.                            exists, it is intended for your viewing
  388.                            pleasure.
  389.  
  390.  
  391.